﻿<%@ Page Title="修改密码-首家汽车行业人才测评系统" Language="C#" MasterPageFile="~/System/SiteSystem.Master"
    AutoEventWireup="true" CodeBehind="ChangePasswordAdmin.aspx.cs" Inherits="EvaluationSystem.ChangePasswordAdmin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="text-align: center">
        <fieldset style="width: 344px; height: 250px; text-align: left">
            <legend>修改密码</legend>
            <br />
            &nbsp;<br />
            <table align="center" border="0" cellpadding="0" cellspacing="0" style="width: 332px;
                height: 145px">
                <tr>
                    <td style="width: 520px; text-align: right; height: 30px;">
                        请输入旧密码：
                    </td>
                    <td style="width: 150px; height: 30px;">
                        <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password"  class="input"></asp:TextBox>
                    </td>
                    <td style="width: 100px; text-align: right; height: 30px;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPwd"
                            ErrorMessage="旧密码不能为空">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 520px; text-align: right; height: 30px;">
                        请输入新密码：
                    </td>
                    <td style="width: 150px; height: 35px;">
                        <asp:TextBox ID="txtNewPwd" runat="server" TextMode="Password" class="input"></asp:TextBox>
                    </td>
                    <td style="width: 100px; text-align: right; height: 30px;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPwd"
                            ErrorMessage="新密码不能为空">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 521px; text-align: right; height: 30px;">
                        请确认新密码：
                    </td>
                    <td style="width: 151px; height: 31px;">
                        <asp:TextBox ID="txtNewPwdA" runat="server" TextMode="Password" class="input"></asp:TextBox>
                    </td>
                    <td style="width: 100px; text-align: right; height: 30px;">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNewPwdA"
                            ErrorMessage="再次新密码不能为空">*</asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPwd"
                            ControlToValidate="txtNewPwdA" ErrorMessage="两次新密码不相同">*</asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" style="text-align: center; height: 56px;">
                        <asp:Button ID="btnChange" runat="server" OnClick="btnChange_Click" Text="确定修改" class="bluebtn" />
                    </td>
                </tr>
                <tr>
                    <td colspan="3" style="text-align: center; height: 40px;">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" Height="42px" Width="326px"
                            ShowMessageBox="True" ShowSummary="False" />
                        <asp:Label ID="lblMessage" runat="server" ForeColor="Blue"></asp:Label>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
</asp:Content>
